/* 看板布局样式 */
.kanban-container {
    display: none;
    flex: 1;
    padding: 0 32px 32px;
    overflow: hidden;
}

.kanban-container.active {
    display: flex;
    gap: 24px;
}

.kanban-column {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.kanban-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kanban-column-count {
    background: #6c757d;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
}

.kanban-column.todo .kanban-column-count {
    background: #007bff;
}

.kanban-column.inprogress .kanban-column-count {
    background: #ffc107;
}

.kanban-column.completed .kanban-column-count {
    background: #28a745;
}

.kanban-tasks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
}

.kanban-task {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: grab;
    transition: all 0.2s ease;
    border-left: 4px solid #e9ecef;
}

.kanban-task:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.kanban-task.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(5deg);
}

.kanban-task.todo {
    border-left-color: #007bff;
}

.kanban-task.inprogress {
    border-left-color: #ffc107;
}

.kanban-task.completed {
    border-left-color: #28a745;
    opacity: 0.8;
}

.kanban-task-content {
    margin-bottom: 12px;
}

.kanban-task-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.kanban-task-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.kanban-task-pomodoros {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ff4757;
}

.kanban-task-due {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e9ecef;
}

.kanban-task-due.today {
    background: #fff3cd;
    color: #856404;
}

.kanban-task-due.tomorrow {
    background: #d1ecf1;
    color: #0c5460;
}

.kanban-task-due.overdue {
    background: #f8d7da;
    color: #721c24;
}

.kanban-task-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.kanban-task-action {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.kanban-task-action:hover {
    background: #f0f0f0;
    color: #666;
}

/* 拖拽区域样式 */
.kanban-drop-zone {
    min-height: 100px;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.kanban-drop-zone.drag-over {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.kanban-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.kanban-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kanban-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .kanban-column {
        min-height: 300px;
    }
}